cmake_minimum_required(version 3.10)

project(demo)

#include_directories(
#	/home/yumoz/Desktop/code/3rd/lapack-3.11/CBLAS/include
#	)

set(LIB_ALL
	cblas
	refblas
	m
	gfortran
	)

# set(LIB_PATH
#	/home/yumoz/Desktop/code/3rd/lapack-3.11
#	/usr/lib/gcc/x86_64-linux-gnu/7
#	)

# find_library(VAR_LIB ${LIB_ALL} ${LIB_PATH})

add_executable(demo demo.c)

target_link_libraries (demo ${LIB_ALL})

message(STATUS  "------cmake successful!-----\n")
